package com.fdb.efp.nls.service.dao;

import com.fdb.efp.nls.service.domain.DwBaiduLoanTemp;
import com.fdb.efp.nls.service.vo.DwBaiduLoanTempVO;

import java.util.List;

/**
 * DAO Interface: 百度联合贷-日初借据信息临时表
 * @author ligm
 * @date 2019-05-02 
 */
public interface DwBaiduLoanTempDao {
	
	/**
	 * 新增数据 
     * @param inDwBaiduLoanTempVo
	 * @return 
	 */
	public int insertDwBaiduLoanTemp(DwBaiduLoanTemp dwBaiduLoanTemp);

    /**
	 * 根据主键删除信息 
     * @param inDwBaiduLoanTempVo
	 * @return 
	 */
	public int deleteByPk(DwBaiduLoanTemp dwBaiduLoanTemp);

    /**
	 * 根据主键更新信息 
     * @param inDwBaiduLoanTempVo
	 * @return 
	 */    
	public int updateByPk(DwBaiduLoanTemp dwBaiduLoanTemp);

    /**
	 * 根据主键查询详情 
     * @param dwBaiduLoanTemp
	 * @return 
	 */
    public DwBaiduLoanTemp queryByPk(DwBaiduLoanTemp dwBaiduLoanTemp);

    /**
	 * 一级数据权限,默认查看当前用户对应的数据 
     * @param dwBaiduLoanTemp
	 * @return 
	 */
	public List<DwBaiduLoanTemp> queryAllByLevelOneByPage(DwBaiduLoanTempVO dwBaiduLoanTemp);
	
    /**
	 * 二级数据权限,默认查看当前用户及所属机构对应的数据 
     * @param dwBaiduLoanTemp
	 * @return 
	 */
	public List<DwBaiduLoanTemp> queryAllByLevelTwoByPage(DwBaiduLoanTempVO dwBaiduLoanTemp);
	
    /**
	 * 三级数据权限,默认查看当前用户所在机构及下属机构对应的数据 
     * @param dwBaiduLoanTemp
	 * @return 
	 */
	public List<DwBaiduLoanTemp> queryAllByLevelThreeByPage(DwBaiduLoanTempVO dwBaiduLoanTemp);

    /**
	 * 四级数据权限,默认预留，便于后续自定义 
     * @param dwBaiduLoanTemp
	 * @return 
	 */
    public List<DwBaiduLoanTemp> queryAllByLevelFourByPage(DwBaiduLoanTempVO dwBaiduLoanTemp);

    /**
	 * 五级数据权限,默认预留，便于后续自定义 
     * @param dwBaiduLoanTemp
	 * @return 
	 */
    public List<DwBaiduLoanTemp> queryAllByLevelFiveByPage(DwBaiduLoanTempVO dwBaiduLoanTemp);
    
    /**
   	 * 
   	 * 分页查询【日初借据信息临时表】 <br>
   	 * 0.1:weijj:2019年5月7日 下午2:37:18:新增 <br>
   	 * 
   	 * @author weijj
   	 * @since 2019年5月7日 下午2:37:18
   	 * @date 2019年5月7日 下午2:37:18
   	 * @version 0.1
   	 */
   	public List<DwBaiduLoanTemp> queryByPage(DwBaiduLoanTempVO dwBaiduLoanTempVO);
   	
   	/**
   	 * 
   	 * 统计【日初借据信息临时表】数据量 <br>
   	 * 0.1:weijj:2019年5月7日 下午2:37:18:新增 <br>
   	 * 
   	 * @author weijj
   	 * @since 2019年5月7日 下午2:37:18
   	 * @date 2019年5月7日 下午2:37:18
   	 * @version 0.1
   	 */
   	public int queryCount();
}

